package com.healthshare.parse.share;

import org.json.JSONException;

import com.palmedia.framework.parse.BaseParse;




/**
 * @author xudeliang
 * 搜索
 */
public class ShareSearchParse extends BaseParse
{

	/*{
/*{
		　“sharelist ”:[
{"contentid":"3232",“timestamp”:”21212121”,”logourl”:”http://xxxx.xxxx.xxx/32.png” ,"nickname":"三娃","content":"气管炎的治疗经验",
"cmtnum":"12","collectnum":"20","picurl":"http://xxx.xxx.xxx/232.jpg" ,"timetype":"0","timevalue":"5"}，


	*/


	
	public String retcodet;
	public ShareSearchParse()
	{
		
	}
	
	@Override
	public boolean Parse(byte[]data)
	{
		boolean ret = super.Parse(data);
		if(!ret)
		{
			return false;
		}
		if(JSON==parseType)
		{
			try 
			{
				retcodet = jsonObject.getString("retcodet");
				return true;
			} 
			catch (JSONException e) 
			{
				e.printStackTrace();
			}
		}
		return false;
	}
	
}
